package cn.xuchunh.okhttpdemo;

import com.squareup.okhttp.Request;
import com.squareup.okhttp.Response;

import java.io.IOException;

/**
 * Created by XuChunH on 2015/12/30.
 */
public interface ResponseListener{

    void onResponse(Response response) throws IOException;

    void onFailure(Request request, IOException e);

}
